/**   
 * Copyright © 2019 eSunny Info. Tech Ltd. All rights reserved.
 * 
 * @Description:TODO(功能)
 * @className Categorys.java
 * @Package: com.yj.erp.po 
 * @author: yj   
 * @date: 2019年1月14日 下午7:30:30 
 */
package com.erp.po;

import java.util.List;

/**
 * @className Categorys.java
 * @author yj
 * @Description:TODO(类别 pojo)
 * @Date 2019年1月14日
 */
public class Categorys {

	private int categoryId;   //类别id
	private String categoryName;  //类别名
	private String categoryDesc;  //类别简介
	
//	private List<Products> products; //商品

	public Categorys() {
		super();
		// TODO Auto-generated constructor stub
	}

	public Categorys(int categoryId) {
		super();
		this.categoryId = categoryId;
	}

	public Categorys(String categoryName) {
	super();
	this.categoryName = categoryName;
}

	public Categorys(String categoryName, String categoryDesc) {
		super();
		this.categoryName = categoryName;
		this.categoryDesc = categoryDesc;
	}

	public Categorys(int categoryId, String categoryName, String categoryDesc) {
		super();
		this.categoryId = categoryId;
		this.categoryName = categoryName;
		this.categoryDesc = categoryDesc;
	}

	/*public List<Products> getProducts() {
		return products;
	}

	public void setProducts(List<Products> products) {
		this.products = products;
	}*/

	public int getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(int categoryId) {
		this.categoryId = categoryId;
	}

	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	public String getCategoryDesc() {
		return categoryDesc;
	}

	public void setCategoryDesc(String categoryDesc) {
		this.categoryDesc = categoryDesc;
	}

	@Override
	public String toString() {
		return "Categorys [categoryId=" + categoryId + ", categoryName=" + categoryName + ", categoryDesc="
				+ categoryDesc + "]";
	}

}
